/* voiceInput.css - 语音输入相关样式 */

/* 语音输入按钮样式 */
.deepseek-voice-input {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    width: 36px;
    height: 36px;
    color: var(--deepseek-secondary-text);
    border-radius: 50%;
    transition: all 0.2s;
}

.deepseek-voice-input:hover {
    background-color: rgba(33, 150, 243, 0.1);
    color: var(--deepseek-primary);
}

.deepseek-voice-input.active {
    color: #e53935;
    background-color: rgba(229, 57, 53, 0.1);
}

/* 语音输入指示器 */
.voice-input-indicator {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    width: 200px;
    border: 1px solid var(--deepseek-border);
}

.voice-wave {
    display: flex;
    justify-content: space-between;
    height: 40px;
    align-items: center;
    width: 80px;
    margin-bottom: 10px;
}

.voice-wave span {
    display: block;
    width: 3px;
    height: 10px;
    background-color: #2196F3;
    animation: wave 1.2s infinite ease-in-out;
}

.voice-wave span:nth-child(2) {
    animation-delay: 0.2s;
}

.voice-wave span:nth-child(3) {
    animation-delay: 0.4s;
}

.voice-wave span:nth-child(4) {
    animation-delay: 0.6s;
}

.voice-wave span:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes wave {
    0%, 40%, 100% {
        height: 10px;
    }
    20% {
        height: 30px;
    }
}

.voice-input-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}